


FILE( GLOB _SOURCES *.cpp *.h )
FILE( GLOB _SOURCESCVC ${CMAKE_SOURCE_DIR}/../../cvclibs/cvctracker/*.cpp ${CMAKE_SOURCE_DIR}/../../cvclibs/cvctracker/*.h )


FILE( TO_CMAKE_PATH "$ENV{OPENCV24_DIR}" OPENCV24_DIR )

link_directories (${CMAKE_SOURCE_DIR}/dependencies/glew/lib/x86
				  ${CMAKE_SOURCE_DIR}/dependencies/freeglut/lib
				  ${CMAKE_SOURCE_DIR}/dependencies/iup
				  ${OPENCV24_DIR}/lib)

INCLUDE_DIRECTORIES(
	${CMAKE_SOURCE_DIR}/dependencies/glew/include
	${CMAKE_SOURCE_DIR}/dependencies/freeglut
	${CMAKE_SOURCE_DIR}/dependencies/iup/include
	${CMAKE_SOURCE_DIR}/dependencies/
    ${CMAKE_SOURCE_DIR}/../../cvclibs/
	${OPENCV24_DIR}/include/	
)

ADD_EXECUTABLE( sensorMatrixTest ${_SOURCES}  ${_SOURCESCVC})

TARGET_LINK_LIBRARIES( sensorMatrixTest	
	opengl32.lib
	glew32.lib
	optimized zlib.lib debug zlibd.lib
	optimized opencv_core243.lib debug opencv_core243d.lib
	optimized opencv_highgui243.lib debug opencv_highgui243d.lib
	optimized opencv_features2d243.lib debug opencv_features2d243d.lib
	optimized opencv_nonfree243.lib debug opencv_nonfree243d.lib
	optimized opencv_calib3d243.lib debug opencv_calib3d243d.lib
	optimized opencv_video243.lib debug opencv_video243d.lib
	optimized opencv_imgproc243.lib debug opencv_imgproc243d.lib
	optimized opencv_flann243.lib debug opencv_flann243d.lib
	iup.lib
	iupcontrols.lib
	iupgl.lib
	iupimglib.lib
	freeglut_static.lib
	glu32.lib
	winmm.lib
	user32.lib
)


SET_TARGET_PROPERTIES( sensorMatrixTest PROPERTIES DEBUG_POSTFIX d )
